﻿/*
谁是主角 
Time Limit:1000MS  Memory Limit:32768K


Description:
文学研究者对小说中主角判断的方法，是统计其名字出现的次数，谁出现的
次数最多，谁就是主角。假设小说中引用的人名前都有@引导。对于下面这篇两
个段落的短文，其主角便为Thackeray。

Several pages before the novel actually ends, @Thackeray writes a fake
ending, to satirize conventional happy endings. He deliberately 
throws in a repetitious series of cliches often used for endings–the 
vessel is in port, the hero gets what he yearned for all his life, 
and the bird comes home and sits on his shoulder billing and cooing. 
Then @Thackeray prose swells into a crescendo of sentimentality and 
more repetition: "This is what he has asked for every day and hour 
for eighteen years. This is what he pined after. Here it is–the summit, 
the end–the last page of the third volume". Then he bids goodbye to 
@Dobbin and @Amelia , and of course slips in the reference to her as 
a parasite. The repetition points up the lack of real meaning and the 
indulgence of emotion for its own sake. Unwary readers, in his day 
and ours, accept his statement and emotion at face value, ignore the 
parasite reference, and so miss the satire. Not even the fact that 
the novel was published in two volumes, not three, alerted some of 
his contemporaries. The style and sentimentality of @Thackeray false 
ending are similar to passages that @Dickens wrote.



为简化处理，假定人名后面不会跟标点符号，也不会跟后缀所有格或复数形式，
且不会出现多个主角或没有主角的情况。你的任务是确定每篇小说中谁是主角。




Input:
今有若干篇小说，每篇小说以#为结束（文中不会出现#）。 
Output:
输出每篇小说的主角名字，每个名字占一行。 
Sample Input:
	Several pages before the novel actually ends, @Thackeray
	writes a fake ending, to satirize conventional happy endings. 
	He deliberately throws in a repetitious series of cliches 
	often used for endings–the vessel is in port, the hero gets 
	what he yearned for all his life, and the bird comes home and 
	sits on his shoulder billing and cooing. Then @Thackeray has 
	prose swells into a crescendo of sentimentality and more 
	repetition: "This is what he has asked for every day and hour
	for eighteen years. This is what he pined after. Here it is–the 
	summit, the end–the last page of the third volume". Then he 
	bids goodbye to @Dobbin and @Amelia , and of course slips in 
	the reference to her as a parasite. The repetition points up 
	the lack of real meaning and the indulgence of emotion for 
	its own sake. Unwary readers, in his day and ours, accept his 
	statement and emotion at face value, ignore the parasite 
	reference, and so miss the satire. Not even the fact that the 
	novel was published in two volumes, not three, alerted some 
	of his contemporaries. The style and sentimentality of 
	@Thackeray false ending are similar to passages that @Dickens 
	wrote.
	#
Sample Output:
	Thackeray
*/

int main()
{

	return 0;
}